package com.gxa.logistics.service.impl;

import com.gxa.logistics.domain.dto.ElectricityRecordDTO;
import com.gxa.logistics.domain.vo.ElectricityRecordVO;
import com.gxa.logistics.mapper.ElectricityRecordMapper;
import com.gxa.logistics.service.ElectricityRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class ElectricityRecordServiceImpl implements ElectricityRecordService {
    @Autowired
    private ElectricityRecordMapper electricityRecordMapper;

    @Override
    public List<ElectricityRecordVO> selectElectricityRecord(ElectricityRecordDTO electricityRecordDTO) {
        return electricityRecordMapper.selectElectricityRecord(electricityRecordDTO);
    }
}
